package cn.iocoder.yudao.module.infra.controller.admin.file.vo.file;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

/**
 * 文件上传 Response VO
 *
 * @author 芋道源码
 */
@Schema(description = "管理后台 - 文件上传响应 VO")
@Data
public class FileUploadRespVO {

    @Schema(description = "文件ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    private Long id;

    @Schema(description = "文件访问地址", requiredMode = Schema.RequiredMode.REQUIRED, example = "https://www.iocoder.cn/yudao.jpg")
    private String url;

    @Schema(description = "文件名", example = "yudao.jpg")
    private String name;

    @Schema(description = "文件大小", example = "2048")
    private Integer size;

}